package org.ssp.dao;

import java.util.ArrayList;

import org.ssp.pojo.Backup;

public interface BackupDao {
	public abstract void addBackup(Backup back);//给用户添加备注
	public abstract void addBackup2(Backup back);//给travel添加备注
	public abstract ArrayList<Backup> findByUid(String uid,int offset,int rows);
 	public abstract int findByUid(String uid);
	public abstract ArrayList<Backup> findByTravelid(int id,int offset,int rows);//某活动的备份列表
	public abstract int findByTravelid(int id);//某活动的备份列表计数
	public abstract void deleteBackup(int id);//按id删除用户备份信息
	public abstract void deleteBackup2(int id);//按id删除活动备份信息
    public abstract void updateBackup(Backup back);//修改某用户的备份信息
    public abstract void updateBackup2(Backup back);//修改某活动的备份信息


}
